﻿using System;

public class CollisionPair
{
    #region Properties

    public BulletSharp.RigidBody Body1 { get; private set; }

    public BulletSharp.RigidBody Body2 { get; private set; }

    #endregion

    #region Constructors

    public CollisionPair(
        BulletSharp.RigidBody body1,
        BulletSharp.RigidBody body2)
    {
        if (body1 == null)
        {
            throw new ArgumentNullException("body1");
        }

        if (body2 == null)
        {
            throw new ArgumentNullException("body2");
        }

        this.Body1 = body1;

        this.Body2 = body2;
    }

    #endregion
}